package com.ff.sms.engine.service.impl;

import com.ff.sms.engine.entity.Msg;
import com.ff.sms.engine.mapper.MsgMapper;
import com.ff.sms.engine.service.MsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 1.0 Herry
 */
@Service
public class MsgServiceImpl implements MsgService {

    @Autowired
    private MsgMapper msgMapper;

    @Override
    public int save(Msg msg) {
        return msgMapper.insertSelective(msg);
    }
}
